package com.citysky.member.domain;

import com.citysky.common.domain.BaseDO;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author Ralf
 * @since 2018-11-22 11:22.
 * Copyright (c) 2015-2017 wlqq.com. All Rights Reserved.
 */
@Table(name = "customer")
@Data
public class CustomerDO extends BaseDO{

    @Id
    private Long id;
    /**
     * 用户昵称
     */
    private String nickName;

    /**
     * 用户手机号
     */
    private String mobile;

    /**
     * 用户邮箱地址
     */
    private String email;

    /**
     * 邮箱已经认证
     */
    private Boolean emailVerified;

    /**
     * 手机号已经认证
     */
    private Boolean mobileVerified;

    /**
     * 个人描述
     */
    private String description;

    /**
     * 最后登录时间
     */
    private Date lastLoginTime;

    /**
     * 加密密码
     */
    private String encryptPassword;
}
